package com.megvii.koala.constance;

import java.util.HashMap;

/**
 * Created by linyue on 15/12/29.
 */
public class PurposeType
{
    public static final String[] PURPOSES = new String[]{"其他", "面试", "商务洽谈", "员工亲友", "快递送货"};

    public static final HashMap<String, Integer> PURPOSES_REVERSE_MAP;

    public static final int PURPOSE_OTHER = 0;

    public static final int PURPOSE_INTERVIEW = 1;

    public static final int PURPOSE_BUSINESS = 2;

    public static final int PURPOSE_FRIENDSHIP = 3;

    public static final int PURPOSE_EMS = 4;

    static
    {
        PURPOSES_REVERSE_MAP = new HashMap<>();
        for (int i = 0; i < PURPOSES.length; i++)
        {
            PURPOSES_REVERSE_MAP.put(PURPOSES[i], i);
        }
    }
}
